package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.RscAdjustAppVO;

import java.util.List;

/**
 * <p>Description:风险分类调整申请表				<p>
 * @author ligm
 * @date 2019-09-04
 */
public interface RscAdjustAppService {
	
	public List<RscAdjustAppVO> queryAllOwner(RscAdjustAppVO rscAdjustAppVo);
	
	public List<RscAdjustAppVO> queryAllCurrOrg(RscAdjustAppVO rscAdjustAppVo);
	
	public List<RscAdjustAppVO> queryAllCurrDownOrg(RscAdjustAppVO rscAdjustAppVo);

	public List<RscAdjustAppVO> queryAllCurrOwnerPrd(RscAdjustAppVO rscAdjustAppVo);

	public List<RscAdjustAppVO> queryExAllOwner(RscAdjustAppVO rscAdjustAppVo);

	public List<RscAdjustAppVO> queryExAllCurrOrg(RscAdjustAppVO rscAdjustAppVo);

	public List<RscAdjustAppVO> queryExAllCurrDownOrg(RscAdjustAppVO rscAdjustAppVo);

	public List<RscAdjustAppVO> queryExAllCurrOwnerPrd(RscAdjustAppVO rscAdjustAppVo);

	public int insertRscAdjustApp(RscAdjustAppVO inRscAdjustAppVo);
	
	public int deleteByPk(RscAdjustAppVO rscAdjustAppVo);
	
	public int updateByPk(RscAdjustAppVO rscAdjustAppVo);
	
	public RscAdjustAppVO queryByPk(RscAdjustAppVO rscAdjustAppVo);

	/**
	 * TODO: 根据借据编号查询分类调整申请表
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/5 10:19
	 * @version 0.1
	 */
	public List<RscAdjustAppVO> queryByBillNo(RscAdjustAppVO rscAdjustAppVo);

	/**
	 * TODO: 根据分类调整流水号更新调整申请表
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/5 15:26
	 * @version 0.1
	 */
	public int updateByRscAdjNo(RscAdjustAppVO rscAdjustAppVo);

	/**
	 * TODO: 根据解除分类调整流水号更新调整申请表
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/5 15:26
	 * @version 0.1
	 */
	public int updateByRscRmNo(RscAdjustAppVO rscAdjustAppVo);

	/**
	 * TODO: 根据分类调整流水号删除申请数据
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/5 15:55
	 * @version 0.1
	 */
	public int deleteByRscAdjNo(RscAdjustAppVO rscAdjustAppVo);

	/**
	 * TODO: 根据解除分类调整流水号删除申请数据
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/5 15:55
	 * @version 0.1
	 */
	public int deleteByRscRmNo(RscAdjustAppVO rscAdjustAppVo);

	/**
	 * TODO: 查询审批状态为通过的数据
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/6 10:26
	 * @version 0.1
	 */
	public List<RscAdjustAppVO> queryAllAppr(RscAdjustAppVO rscAdjustApp);

	/**
	 * TODO: 根据风险分类调整流水号查询表
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/17 15:01
	 * @version 0.1
	 */
	public RscAdjustAppVO queryByAdjNo(RscAdjustAppVO rscAdjustApp);

	/**
	 * TODO: 根据风险分类调整解除流水号查询表
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/9/17 15:01
	 * @version 0.1
	 */
	public RscAdjustAppVO queryByRmNo(RscAdjustAppVO rscAdjustApp);

	/**
	 * 用于导出查询出的所有数据
	 * @author xiezw
	 * @params  * @param null
	 * @return
	 * @date 2019/11/15 9:48
	 * @version 0.1
	 */
	public List<RscAdjustAppVO> queryAllExport(RscAdjustAppVO rscAdjustAppVo);
}
